package com.punai.system.bo.ep;

import com.alibaba.excel.annotation.ExcelProperty;

import java.util.Objects;

public class UserWxExcel {

    @ExcelProperty("姓名")
    private String userName;

    @ExcelProperty("帐号")
    private String userId;
    @ExcelProperty("部门")
    private String deptName;
    @ExcelProperty("性别")
    private String sex;
    @ExcelProperty("手机")
    private String phone;
    @ExcelProperty("企业邮箱")
    private String email;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        UserWxExcel that = (UserWxExcel) o;
        return Objects.equals(userName, that.userName) && Objects.equals(userId, that.userId) && Objects.equals(deptName, that.deptName) && Objects.equals(sex, that.sex) && Objects.equals(phone, that.phone) && Objects.equals(email, that.email);
    }

    @Override
    public int hashCode() {
        return Objects.hash(userName, userId, deptName, sex, phone, email);
    }

    @Override
    public String toString() {
        return "UserWxExcel{" +
                "userName='" + userName + '\'' +
                ", userId='" + userId + '\'' +
                ", deptName='" + deptName + '\'' +
                ", sex='" + sex + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                '}';
    }
}
